clear all
set more off
capture log close
set matsize 11000 

*---- Set Directory ----*
global rootDir = "/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication"
global dataDir = "Data"
global resultDir = "Results"
global logDir = "Analysis/logSTATA"
global graphDir = "Results/Figures"

*******************************************************************************
/*				     RENEWABLES_VOTING (URPELAINEN & ZHANG)	        		 */
*******************************************************************************

/* 

File Name:    	000_masterDo.do

By:				Alice Tianbo Zhang (alice.tianbo.zhang@gmail.com)

Last Edited:  	11/06/2021

Purpose:		Run all Stata .do files
			
*/

local fileNames 003_balanceTest 004_analysis_environment 005_analysis_election ///
				006_analysis_turnout 008_robustness_comments 009_analysis_CCES  /// 
				010_analysis_CBP 012_analysis_Texas 014_analysis_RPS 015_analysis_dropUrban ///

foreach f of local fileNames{
	cd "$rootDir/Analysis"
	do `f'.do
}
